From 7b8ea9af5525b116b3860124d3410249403f8e36 Mon Sep 17 00:00:00 2001 From: Robert Ancell Date: Thu, 8 Jun 2017 12:08:22 +1200 Subject: [PATCH] icon-theme: Show filename attempted when icon fails to load --- gtk/gtkicontheme.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 8b12c02eab..2bd7a13aa3 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -2306,6 +2306,7 @@ gtk_icon_theme_load_icon_for_scale (GtkIconTheme *icon_theme, } pixbuf = gtk_icon_info_load_icon (icon_info, error); + g_prefix_error (error, "Failed to load %s: ", icon_info->filename); g_object_unref (icon_info); return pixbuf; -- 2.30.2